package com.nf.health.app.adapter;

import android.bluetooth.BluetoothDevice;
import android.widget.AbsListView;

import com.nf.health.app.R;

import java.util.Collection;

/**
 * Created by Jason on 2016/3/15.
 */
public class BluetoothDeviceNameAdapter extends MyBaseAdapter<BluetoothDevice> {
    public BluetoothDeviceNameAdapter(AbsListView view, Collection mDatas, int itemLayoutId) {
        super(view, mDatas, itemLayoutId);
    }

    @Override
    public void convert(AdapterHolder holder, BluetoothDevice item, boolean isScrolling) {
        holder.setText(R.id.show_name, item.getName());
    }
}
